define(function (require, exports, module) {
    var template = require("template");
    var loadingTpl = require("./common/tpl/loading.html");
    var v = require("./profile.validator");
    require("./common/dialog.js");
    $(function () {
        if (localStorage.getItem("userName") != "") {
            $("[name=userName]").val(localStorage.getItem("userName"));
        }
        v.editValidator("#editForm");

        // $("body").on("click", ".btnChangePwd", function () {
        //     v.editValidator("#editForm");
        // });
        // $(".ipt").bind("keypress", function (e) {
        //     if (e.keyCode == "13")
        //         v.editValidator("#editForm");
        // });
    });
});